package com.esri.core.geometry;

import java.util.Comparator;

/* loaded from: classes.dex */
class Proximity2DResultComparator implements Comparator<Proximity2DResult> {
    Proximity2DResultComparator() {
    }

    @Override // java.util.Comparator
    public int compare(Proximity2DResult proximity2DResult, Proximity2DResult proximity2DResult2) {
        if (proximity2DResult.c < proximity2DResult2.c) {
            return -1;
        }
        return proximity2DResult.c == proximity2DResult2.c ? 0 : 1;
    }
}
